package com.crest.wm;

/**
 * Created with IntelliJ IDEA.
 * User: prabu
 * Date: 22/4/13
 * Time: 3:58 PM
 * To change this template use File | Settings | File Templates.
 */
public class Book extends Document {

    private String topic;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    @Override
    public void setWatermark() {

        watermark.setProperty("CONTENT", "book");
        watermark.setProperty("TITLE", title);
        watermark.setProperty("AUTHOR", author);
        watermark.setProperty("TOPIC", topic);


    }







}
